package cn.zn.modules.appoin.dao;

import cn.zn.modules.appoin.entity.AtSpecial;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface AtSpecialMapper extends BaseMapper<AtSpecial> {

    /**
     * 查询用户设置的例外规则
     *
     * @param specialDate
     * @param userCode
     * @return
     */
    AtSpecial queryByUserAndDate(@Param("specialDate") String specialDate, @Param("userCode") String userCode);
}